package com.idanchuang.user.count.service.api.request.query.read;

import com.idanchuang.user.count.service.api.request.query.BaseUserCountQuery;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author Richard_yyf
 * @version 1.0 2021/5/25
 */
public class UserMsgIfReadBatchQuery extends BaseUserCountQuery {

    /**
     * 已读未读消息计数 场景
     */
    @NotEmpty(message = "用户计数场景不得为空")
    private String scene;

    /**
     * 消息流水号
     * NOTICE:
     *  该字段作为已读未读消息标识 ，不得重复！！比如消息ID
     * size <= 10
     */
    @NotEmpty
    private List<String> msgNos;

    public UserMsgIfReadBatchQuery() {
    }

    public String getScene() {
        return scene;
    }

    public void setScene(String scene) {
        this.scene = scene;
    }

    public List<String> getMsgNos() {
        return msgNos;
    }

    public void setMsgNos(List<String> msgNos) {
        this.msgNos = msgNos;
    }

    @Override
    public String toString() {
        return "UserMsgIfReadBatchQuery{" +
                "scene='" + scene + '\'' +
                ", msgNos=" + msgNos +
                "} " + super.toString();
    }
}
